//
// The resource management layer has been upgraded, thus deprecating this file.
//
#error *** resmgr.h has been deprecated. ***

#ifndef RESMGR_H
#define RESMGR_H


typedef struct _CResMgr
{
	pCResFile	cResFiles;
	String		cBasePath;
} CResMgr;


PLIBEXP pCResMgr	newCResMgr(const String & basepath);
PLIBEXP void		deleteCResMgr(pCResMgr This);
void			CResMgrConstruct(pCResMgr This, const String & basepat);
void			CResMgrDestruct(pCResMgr This);

PLIBEXP uint32	CResMgrOpenResFile(pCResMgr This, const String & Filename);
PLIBEXP void	CResMgrCloseResFile(pCResMgr This, uint32 ResFileID);
PLIBEXP void *	CResMgrGetResource(pCResMgr This, char * ResName, uint32 ResGrp);
PLIBEXP void *	CResMgrGetResource(pCResMgr This, const String& ResName, uint32 ResGrp);

PLIBEXP bool8	CResMgrReleaseResource(pCResMgr This, void * ResID);


#endif
